package com.animal.service.impl;

import com.animal.entity.pojo.AAdoptt;
import com.animal.mapper.AdopttMapper;
import com.animal.service.AdopttService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class AdopttServiceImpl implements AdopttService {
    @Resource
    private AdopttMapper adopttMapper;


    @Override
    public boolean addAdopttAll(AAdoptt adoptt) {
        int count = adopttMapper.addAdopttAll(adoptt);
        if (count > 0) {
            return true;
        } else {
            return false;
        }
    }


}
